﻿namespace Aurora.SingalR.Hubs
{
    /// <summary>
    /// hub 消息
    /// </summary>
    public class HubMessage
    {
        /// <summary>
        /// 消息标识
        /// </summary>
        public string MessageId { get; set; }
        /// <summary>
        /// hub 通知类型  all 通知全部  person 通知某个人
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 消息
        /// </summary>
        public object Message { get; set; }

        /// <summary>
        /// 简介
        /// </summary>
        public string Intro
        {
            get; set;
        }
        /// <summary>
        /// 人员信息 
        /// </summary>
        public object User { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string Creator { get; set; }
    }
}
